package com.heisenhub.common.redis.config;

import com.heisenhub.common.redis.utils.RedisUtils;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

public class HubRedisUtilsConfigure {

    @Bean
    @ConditionalOnMissingBean(name = "RedisUtils")
    public RedisUtils redisService() {
        return new RedisUtils();
    }
}
